{extend name="common@admin/main" /}
{block name="content"}
<div id="content">
    <div class="page-header">
        <div class="container-fluid">
            <div class="pull-right">
                <button type="submit" form="form-set" data-toggle="tooltip" title="保存" class="btn btn-primary"> <i class="fa fa-save"></i>
                </button>
                <a href="" data-toggle="tooltip" title="取消" class="btn btn-default"> <i class="fa fa-reply"></i>
                </a>
            </div>
            <h1>角色</h1>
            <ul class="breadcrumb">
                <li>
                    <a href="">首页</a>
                </li>
                <li>
                    <a href="">角色</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="container-fluid">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">
                    <i class="fa fa-pencil"></i>
                    设置角色
                </h3>
            </div>
            <div class="panel-body">
                <!-- __ACTION__ -->
                <form action="" method="post" enctype="multipart/form-data" id="form-set" class="form-horizontal">
                    <if condition="ACTION_NAME eq 'edit'">
                        <input type="hidden" name="id" id="input-id" value="">
                    </if>
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a href="#tab-general" data-toggle="tab">基本信息</a>
                        </li>
                    </ul>
                    <div class="tab-content">
                        <div class="tab-pane active" id="tab-general">

                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="input-name">角色</label>
                                <div class="col-sm-10">
                                    <input type="text" name="name" value="" placeholder="角色" id="input-name" class="form-control">

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="input-pid">上级</label>
                                <div class="col-sm-10">
                                    <input type="text" name="pid" value="" placeholder="上级" id="input-pid" class="form-control">

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="input-status">状态</label>
                                <div class="col-sm-10">
                                    <input type="text" name="status" value="" placeholder="状态" id="input-status" class="form-control">

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="input-remark">备注</label>
                                <div class="col-sm-10">
                                    <input type="text" name="remark" value="" placeholder="备注" id="input-remark" class="form-control">

                                </div>
                            </div>


                        </div>

                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="title"}
<title>角色添加</title>
{/block}

{block name="appendJS"}

{/block}